<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ModAcademico
 *
 * @author EaDeveloper
 */
class ModAcademico extends ModIframe {
    public $includePath;
    public $modules = array("admin_academico_asignacion",
        "admin_academico_cobros",
        "admin_academico",
        "admin_academico_reportes");

    public function __construct() {
        $this->instanceName = "ModAcademico";
        $this->title="Academico";
    }

    public function getPath() {
        $path = parent::getPath();
        $id = getParam("page");
        $path.="&page=$id";
        return $path;
    }

    public function getPageFrame() {
        $id = getParam("page");
        $file = $this->modules[$id];
        $page = RELATIVE_PATH . "conta_erp/core/$file.php";
        return $page;
    }
}

?>
